package xtrace

import "context"

func RunWithNewTrace(operationName string, execute func(ctx context.Context)) {
	span, ctx := StartSpanFromContext(context.Background(), operationName)
	defer span.Finish()
	execute(ctx)

}
